<?xml version="1.0" encoding="UTF-8"?>
<!-- 
Document   : ide
Created on : Oct 29, 2008, 3:13:23 PM
Author     : huy
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ice:outputHtml id="outputHtml1">
            <ice:outputHead id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./resources/default.css" id="outputStyle3"/>
                <ice:outputStyle href="./xmlhttp/css/xp/xp.css" id="outputStyle2"/>
                <script src="/WebIDE-war/js/highlight.pack.js" type="text/javascript"></script>
            </ice:outputHead>
            <ice:outputBody id="outoutBody1" style="-rave-layout: grid">
                <ice:form id="form1">
                    <ice:commandButton action="#{ide.button1_action}" id="button1"
                        style="height: 24px; left: 24px; top: 624px; position: absolute; width: 120px" value="run"/>
                    <ice:outputText id="outputText1" style="height: 18px; left: 120px; top: 168px; position: absolute" value="#{ide.currentFile.name}"/>
                    <ice:inputTextarea id="inputTextarea2" style="height: 96px; left: 22px; top: 670px; position: absolute; width: 336px" value="#{ide.output}" valueChangeListener="#{ide.inputTextarea2_processValueChange}"/>
                    <ice:outputText id="outputText2" style="left: 24px; top: 648px; position: absolute" value="Output"/>
                    <ice:inputTextarea id="inputTextarea3" partialSubmit="true" style="height: 96px; left: 382px; top: 670px; position: absolute; width: 336px"
                        value="#{ide.tempInput}" valueChangeListener="#{ide.inputTextarea3_processValueChange}"/>
                    <ice:outputText id="outputText3" style="left: 384px; top: 648px; position: absolute" value="Input"/>
                    <ice:menuBar id="menuBar1" style="left: 0px; top: 120px; position: absolute">
                        <ice:menuItem actionListener="#{ide.menuBar1Bean.primaryListener}" id="menuItem1" value="File">
                            <ice:menuItem action="#{ide.menuItem4_action}" actionListener="#{ide.menuItem4_processAction}" id="menuItem4" value="new project"/>
                            <ice:menuItem action="#{ide.menuItem5_action}" actionListener="#{ide.menuItem5_processAction}" id="menuItem5" value="new file"/>
                            <ice:menuItem actionListener="#{ide.menuItem6_processAction}" id="menuItem6" value="Open project"/>
                            <ice:menuItem actionListener="#{ide.menuItem7_processAction}" id="menuItem7" value="Open file"/>
                            <ice:menuItem actionListener="#{ide.menuItem8_processAction}" id="menuItem8" value="Save all"/>
                        </ice:menuItem>
                        <ice:menuItem actionListener="#{ide.menuBar1Bean.primaryListener}" id="menuItem2" value="Edit">
                            <ice:menuItem id="menuItem10" value="Copy"/>
                            <ice:menuItem id="menuItem11" value="Paste"/>
                            <ice:menuItem id="menuItem12" value="Find"/>
                        </ice:menuItem>
                        <ice:menuItem id="menuItem9" value="Help"/>
                        <ice:menuItem actionListener="#{ide.menuBar1Bean.primaryListener}" id="menuItem3" value="Tools"/>
                    </ice:menuBar>
                    <ice:inputTextarea id="inputTextarea1" rendered="#{ide.currentFile!=null}"
                        style="height: 406px; left: 24px; top: 192px; position: absolute; width: 694px" value="#{ide.currentFile.contents}"/>
                    <ice:panelPopup draggable="true" id="panelPopup1" rendered="#{ide.panelPopup1Bean.showDraggablePanel}"
                        style="display: block; left: 504px; top: 216px; position: absolute; width: 214px" visible="#{ide.panelPopup1Bean.showModalPanel}">
                        <f:facet name="header">
                            <ice:panelGrid id="panelGrid1" style="display:block;width:180px;height:20px;">
                                <ice:outputText id="outputText4" value="File name"/>
                            </ice:panelGrid>
                        </f:facet>
                        <f:facet name="body">
                            <ice:panelGrid id="panelGrid2" style="display:block;width:180px;height:80px;">
                                <ice:outputText id="outputText5" value="body text"/>
                                <ice:inputText id="inputText1" value="#{ide.newFile.name}"/>
                                <ice:commandButton actionListener="#{ide.button2_processAction}" id="button2" value="create"/>
                            </ice:panelGrid>
                        </f:facet>
                    </ice:panelPopup>
                    <ice:outputLink id="outputLink1" style="left: 600px; top: 168px; position: absolute" value="#{ide.currentProject.name}">
                        <ice:outputText id="outputText6" value="#{ide.currentProject.name}"/>
                    </ice:outputLink>
                    <ice:panelPopup draggable="true" id="panelPopup2" rendered="#{ide.panelPopup2Bean.showDraggablePanel}"
                        style="display: block; left: 504px; top: 264px; position: absolute; width: 214px" visible="#{ide.panelPopup2Bean.showModalPanel}">
                        <f:facet name="header">
                            <ice:panelGrid id="panelGrid3" style="display:block;width:180px;height:20px;">
                                <ice:outputText id="outputText7" value="New Project"/>
                            </ice:panelGrid>
                        </f:facet>
                        <f:facet name="body">
                            <ice:panelGrid id="panelGrid4" style="display:block;width:180px;height:80px;">
                                <ice:outputText id="outputText8" value="body text"/>
                                <ice:inputText id="inputText2" value="#{ide.newProject.name}"/>
                                <ice:commandButton actionListener="#{ide.button3_processAction}" id="button3" value="submit"/>
                            </ice:panelGrid>
                        </f:facet>
                    </ice:panelPopup>
                    <ice:panelPopup draggable="true" id="panelPopup3" rendered="#{ide.panelPopup3Bean.showDraggablePanel}"
                        style="display: block; height: 381px; left: 504px; top: 216px; position: absolute; width: 357px; z-index: 999" visible="#{ide.panelPopup3Bean.showModalPanel}">
                        <f:facet name="header">
                            <ice:panelGrid id="panelGrid5" style="display:block;width:180px;height:20px;">
                                <ice:outputText id="outputText9" value="Open Project"/>
                            </ice:panelGrid>
                        </f:facet>
                        <f:facet name="body">
                            <ice:panelGrid id="panelGrid6" style="display:block;width:180px;height:80px;">
                                <ice:outputText id="outputText10" value="body text"/>
                                <ice:dataTable border="0" cellpadding="2" cellspacing="0" rowClasses="jsfcrud_odd_row,jsfcrud_even_row" rules="all"
                                    style="border:solid 1px" value="#{auth.visit.user.projectsCollection}" var="item">
                                    <ice:column>
                                        <f:facet name="header">
                                            <ice:outputText value="Id"/>
                                        </f:facet>
                                        <ice:outputText value=" #{item.id}"/>
                                    </ice:column>
                                    <ice:column>
                                        <f:facet name="header">
                                            <ice:outputText value="Name"/>
                                        </f:facet>
                                        <ice:outputText value=" #{item.name}"/>
                                    </ice:column>
                                    <ice:column>
                                        <f:facet name="header">
                                            <ice:outputText escape="false" value=";"/>
                                        </f:facet>
                                        <ice:commandLink action="#{ide.open_project}" value="Open">
                                            <f:param name="jsfcrud.currentProjects" value="#{jsfcrud_class['webidewar.jsf.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][item][projects.converter].jsfcrud_invoke}"/>
                                        </ice:commandLink>
                                    </ice:column>
                                </ice:dataTable>
                            </ice:panelGrid>
                        </f:facet>
                    </ice:panelPopup>
                    <ice:panelPopup draggable="true" id="panelPopup4" rendered="#{ide.panelPopup4Bean.showDraggablePanel}"
                        style="height: 357px; left: 504px; top: 216px; position: absolute; width: 333px" visible="#{ide.panelPopup4Bean.showModalPanel}">
                        <f:facet name="header">
                            <ice:panelGrid id="panelGrid7" style="display:block;width:180px;height:20px;">
                                <ice:outputText id="outputText11" value="Open File"/>
                            </ice:panelGrid>
                        </f:facet>
                        <f:facet name="body">
                            <ice:panelGrid id="panelGrid8" style="display:block;width:180px;height:80px;">
                                <ice:outputText id="outputText12" value="body text"/>
                                <ice:dataTable border="0" cellpadding="2" cellspacing="0" rowClasses="jsfcrud_odd_row,jsfcrud_even_row" rules="all"
                                    style="border:solid 1px" value="#{ide.currentProject.filesCollection}" var="item">
                                    <ice:column>
                                        <f:facet name="header">
                                            <ice:outputText value="Id"/>
                                        </f:facet>
                                        <ice:outputText value=" #{item.id}"/>
                                    </ice:column>
                                    <ice:column>
                                        <f:facet name="header">
                                            <ice:outputText value="Name"/>
                                        </f:facet>
                                        <ice:outputText value=" #{item.name}"/>
                                    </ice:column>
                                    <ice:column>
                                        <f:facet name="header">
                                            <ice:outputText escape="false" value=";"/>
                                        </f:facet>
                                        <ice:commandLink action="#{ide.open_file}" value="Show">
                                            <f:param name="jsfcrud.currentFiles" value="#{jsfcrud_class['webidewar.jsf.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][item][files.converter].jsfcrud_invoke}"/>
                                        </ice:commandLink>
                                    </ice:column>
                                </ice:dataTable>
                            </ice:panelGrid>
                        </f:facet>
                    </ice:panelPopup>
                    <ice:outputLabel id="outputLabel1" style="left: 456px; top: 168px; position: absolute" value="Current project :"/>
                    <ice:outputLabel id="outputLabel2" style="left: 24px; top: 168px; position: absolute" value="Current File:"/>
                    <ice:commandButton actionListener="#{ide.button4_processAction}" id="button4" style="left: 744px; top: 672px; position: absolute" value="send"/>
                    <div style="left: 648px; top: 144px; position: absolute">
                        <jsp:directive.include file="chatbox.jspf"/>
                    </div>
                </ice:form>
                <div style="left: 0px; top: 0px; position: absolute">
                    <jsp:directive.include file="MasterPages/Header.jspf"/>
                </div>
                <div style="left: 0px; top: 792px; position: absolute">
                    <jsp:directive.include file="MasterPages/footer.jspf"/>
                </div>
                <div style="left: 0px; top: 96px; position: absolute">
                    <jsp:directive.include file="MasterPages/Navigator.jspf"/>
                </div>
            </ice:outputBody>
        </ice:outputHtml>
    </f:view>
</jsp:root>
